/***************************************************************
 * Name:      Ex1Main.h
 * Purpose:   Defines Application Frame
 * Author:    Edward ()
 * Created:   2012-05-16
 * Copyright: Edward ()
 * License:
 **************************************************************/

#ifndef EX1MAIN_H
#define EX1MAIN_H

//(*Headers(Ex1Frame)
#include <wx/menu.h>
#include <wx/toolbar.h>
#include <wx/frame.h>
#include <wx/statusbr.h>
//*)
#include "CPoint.h"

class Ex1Frame: public wxFrame
{

    public:

        Ex1Frame(wxWindow* parent,wxWindowID id = -1);
        virtual ~Ex1Frame();
        void DrawPoint(const CPoint& pt);

    private:

        //(*Handlers(Ex1Frame)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnPaint(wxPaintEvent& event);
        void OnToolBarItem1Clicked(wxCommandEvent& event);
        //*)

        //(*Identifiers(Ex1Frame)
        static const long idMenuQuit;
        static const long idMenuAbout;
        static const long ID_STATUSBAR1;
        static const long ID_TOOLBARITEM1;
        static const long ID_TOOLBAR1;
        //*)

        //(*Declarations(Ex1Frame)
        wxToolBar* ToolBar1;
        wxToolBarToolBase* ToolBarItem1;
        wxStatusBar* StatusBar1;
        //*)

        DECLARE_EVENT_TABLE()
};

#endif // EX1MAIN_H
